import { RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/content-distribute',
    name: 'content-distribute',
    component: () => import('@/views/ContentDistribute/index.vue'),
    meta: {
      title: '内容分发',
      icon: 'dot-chart',
    },
    children: [
      {
        path: 'choiceness',
        name: 'choiceness',
        component: () => import('@/views/ContentDistribute/Choiceness/index.vue'),
        meta: {
          title: '优质候选池',
          icon: 'dot-chart',
        },
      },
      {
        path: 'candidate-pool',
        name: 'candidate-pool',
        component: () => import('@/views/ContentDistribute/CandidatePool/index.vue'),
        meta: {
          title: '优质动态结果页',
          icon: 'dot-chart',
        },
      }
    ]
  },
]

export default routes
